<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<script src="__TMPL__Public/js/c.js?v={$version}"></script>
<script src="__TMPL__Public/js/layer.m.js?v={$version}"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script type="text/javascript">
wx.config({
  debug: false,
  appId: '{$wx.appId}',
  timestamp: '{$wx.timestamp}',
  nonceStr: '{$wx.nonceStr}',
  signature:  '{$wx.signature}',
  jsApiList: [
  'checkJsApi',
  'onMenuShareTimeline',
  'onMenuShareAppMessage',
  'onMenuShareQQ',
  'onMenuShareWeibo',
  'hideMenuItems',
  ]
 });

</script>